package org.zfes.snowier.cloud.zbss.cms.content.service;

import java.util.Map;
import java.util.Optional;
import org.zfes.snowier.core.data.DataSet;
import org.zfes.snowier.cloud.zbss.cms.content.model.CmsContentOperateRecord;
public interface ICmsContentOperateRecordService{

	 Optional<CmsContentOperateRecord> loadCmsContentOperateRecordById(Long id);
	
	 void createCmsContentOperateRecord(CmsContentOperateRecord cmsContentOperateRecord);
	
	 void updateCmsContentOperateRecord(CmsContentOperateRecord cmsContentOperateRecord);

	 void deleteCmsContentOperateRecord(Long id);
	
	 DataSet loadCmsContentOperateRecordDataSet(Map<String, Object> params);
	 
	 void setCmsContentOperateRecordStatus(Long id, Byte status);
 	
 	 void setCmsContentOperateRecordStatusByContentId(Long contentId, Byte status);
}